﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x0200030A RID: 778
	public class TLockingClauseList : TParseTreeNodeList
	{
		// Token: 0x06001B9A RID: 7066 RVA: 0x0032F62F File Offset: 0x0032D82F
		public virtual void addLockingClause(TLockingClause lockingClause)
		{
			base.addElement(lockingClause);
		}

		// Token: 0x06001B9B RID: 7067 RVA: 0x0032F638 File Offset: 0x0032D838
		public virtual TLockingClause getLockingClause(int position)
		{
			if (position < base.size())
			{
				return (TLockingClause)this.elementAt(position);
			}
			return null;
		}

		// Token: 0x06001B9C RID: 7068 RVA: 0x0032F651 File Offset: 0x0032D851
		internal override void addParseTreeNode(object arg1)
		{
			this.addLockingClause((TLockingClause)arg1);
		}

		// Token: 0x06001B9D RID: 7069 RVA: 0x0032F65F File Offset: 0x0032D85F
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06001B9E RID: 7070 RVA: 0x0032F670 File Offset: 0x0032D870
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			for (int i = 0; i < base.size(); i++)
			{
				this.getLockingClause(i).accept(v);
			}
			v.postVisit(this);
		}
	}
}
